package com.app.qbake.module.video.di;

import com.app.qbake.module.video.api.VideoListApi;
import com.app.qbake.module.video.api.VideoListApiProxy;

import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;

@Module
public class VideoListModule {

    @Provides
    public static VideoListApiProxy provideApiProxy(Retrofit retrofit){
        VideoListApi api=retrofit.create(VideoListApi.class);
        VideoListApiProxy proxy=new VideoListApiProxy(api);
        return proxy;
    }

}
